import request from '@/utils/request'

export function listmamagerImprove(query) {
  return request({
    url: '/system/mamagerImprove/list',
    method: 'get',
    params: query
  })
}

export function selectList(query) {
  return request({
    url: '/system/mamagerImprove/listSelect',

    method: 'get',
    params: query
  })
}
export function delmamagerImprove(compFeeIds) {
  return request({
    url: '/system/mamagerImprove/' + compFeeIds,
    method: 'delete'
  })
}
export function mamagerImproveAdd(data) {
  return request({
    url: '/system/mamagerImprove',
    method: 'post',
    data: data
  })
}
export function updategmamagerImprove(data) {
  return request({
    url: '/system/mamagerImprove',
    method: 'put',
    data: data
  })
}
export function mamagerImproveInfo(query) {
  return request({
    url: '/system/mamagerImprove/' + query,
    method: 'get',
  })
}

export function effectmamagerImprove(id, effect) {
  console.log('11')
  return request({
    url: '/system/mamagerImprove/effect/' + id + '/' + effect,
    method: 'put',
  })
}

// 上传签到表 type 1首次 2末次 3总结报告
export function signFile(query) {
  return request({
    url: '/system/mamagerImprove/signFile',
    method: 'get',
    params: query
  })
}

